Quick Start. SLNG Basic API Instruction for Version 5.5 שרה אמנו 39/21 מודיעין I טל' I פקס
|
|
- Adam Francis
- 5 years ago
- Views:
Transcription
1 Quick Start SLNG Basic API Instruction for Version 5.5 1
2 Contents Introduction... 4 Sending using HTTP JSON Post Interface... 5 Sending JSON format... 5 Fields Description Request... 6 Fields Description Response... 9 Sending Personalized message... 9 Example for sending using HTTP post HTTP Post PHP example HTTP Post C# example Get Message statistics using HTTP JSON Post Interface Get message statistics JSON format Fields Description Request Fields Description Response Example for getting message statistics using HTTP post HTTP Post PHP example HTTP Post C# example Delete, Add, Unsubscribe or Update contact profile using HTTP JSON Post Interface General command JSON format Fields Description Request Fields Description Response Fields Required/Optional per command Example for executing special command (delete contact) using HTTP post HTTP Post PHP example HTTP Post C# example Add, Deleted or Edit Group using HTTP JSON Post Interface General command JSON format Fields Description Request Fields Description Response Fields Required/Optional per command
3 Example for executing add new group command using HTTP post HTTP Post PHP example HTTP Post C# example Cancel /Sms Sending command using HTTP JSON Post Interface General command JSON format Fields Description Request Fields Description Response Fields Required/Optional per command Get user account balance using HTTP JSON Post Interface Get user balance command JSON format Fields Description Request Fields Description Response Example for executing special command (delete contact) using HTTP post HTTP Post PHP example HTTP Post C# example
4 Introduction This document is a quick start user guide for SLNG API application for sending . A separate document that can be found here described the SMS API. This document does not cover the complete API functionality but provide the most common use functionality, for further information please contact SLNG support team. Also please note that this document only described the JSON API that we recommend to use and as mentioned before for XML or web service interface please contact SLNG support team. In this document you can find detail instruction of the following topics: Http post Interface: 1. Sending using JSON HTTP post interface 2. Get message statistics using JSON HTTP post interface. 3. Unsubscribe contact using JSON HTTP POST interface. 4. Delete contact using JSON HTTP post interface. 5. Add new contact using JSON HTTP post interface. 6. Update contact profile using HTTP post interface 7. Get user account balance using HTTP post interface. 4
5 Sending using HTTP JSON Post Interface HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) Sending JSON format Below JSON format described the sending command. As mentioned before the following JSON format should be sent in the request body of the HTTP call. Note that the HTML request must be sent with html and body tag. Request: "Username": "your API username", "Password": "your API password", "MsgName": "Your message name", "MsgBody": "Message body here", "FromName": "Sender name", "From ": "Sender ", "ReplyTo ": "Reply to ", "MsgBodyType": "message body type("1" for HTML format)", "LanguageType": "Language type ("1" for Hebrew)", "Subject": " subject", "MsgScheduleTime": "message schedule time (optional)", "GroupGUIDs": [ "Array of target group (GroupGUID) for this message", ], " s": [ " ": "contact ", "FirstName": "Contact first name", "LastName": "Contact last name", "Street": "Contact Street", "City": "Contact city", "Country": "Contact country", "PostalCode": "Contact postal code", "Fax": "Contact fax" ] 5
6 Response: Note that GeneralGUID field defines the MsgInfoGUID of the message and it use by some other command (for example, MsgInfoGUID field use to get the message statistics). "Status":true/false, "Description":"Command received successfully", "GeneralGUID":"xxxxxx" Fields Description Request Field Name Description Type Required/Optional Username your API username for SLNG system String Required Password your API password for SLNG system String Required MsgName Defines the message name that will present in SLNG system. String Required MsgBody Your message body. If you send HTML you HTML message has to include <html> and <body> tags. String Required FromName Defines the from name field. String Required From Defines the from field. String Required ReplyTo Define the reply to fileld. String Required MsgBodyType Define the message body type format: "1" HTML format "2" Text format String Required LanguageType Define the message language: "1" Hebrew "2' - English "3" Russia "4" - Arabic String Required Subject Define the message subject String Required 6
7 GroupGUIDs Define the target GroupGUID in SLNG for this message. Array of strings Optional only if s field below defined s Array of object that defines the contact profile fields. For more information see description of object below Array of object Optional only if GroupGUIDs field defined 7
8 Objet: object defined in the s fields of the message, as defined in the above field description table this object is optional if the GroupGUIDs field is defined. Please be aware of the following: 1. The contact object fields can be used to create a personalized message as described in the next section. 2. The number next to the field type (e.g: String(200)) defined the maximum string length of this field. Field Name Description Type Required/Optional Contact address. Note that this field is required only if the object defined. String Required FirstName Contact first name field. String (200) LastName Contact last name field. String (200) Street Contact street field. String (200) City Contact city field String (150) Country Contact country field. String (150) PostalCode Contact postal code field. String (20) Fax Contact Fax field. String (50) Optional Optional Optional Optional Optional Optional Optional 8
9 Fields Description Response Field Name Description Type Status Pass or Fail defines if the sending command pass or fail. Boolean Description Status description message String GeneralGUID Carries the message MsgInfoGUID field that use to get the message statistics String Sending Personalized message SLNG allow you to send a personalized message via the API interface. Personalized fields can be defined in the message body or in the subject. In the table below you can find the maximum length of each message and the format of the personalized field in the message body. Please also be aware that you can define your own fields if needed, for further information please contact SLNG support team. Field Name (API) Max length Field in Message ##שם_פרטי## 1 FirstName 200 ##FIRST_NAME## OR 2 LastName 200 ##שם_משפחה## ##LAST_NAME## OR 3 Street 200 ## רחוב## ##STREET## OR 4 City 150 ## עיר## ##CITY## OR 5 Country 150 ## מדינה## ##COUNTRY## OR 6 PostalCode 20 ##מיקוד## ##POSTAL_CODE## OR 7 Fax 50 ## פקס## ##FAX## OR 9
10 Example for sending using HTTP post HTTP Post PHP example <?php function Send Json () $url = " "; $json =' "Username": "xxxxxxx", "Password": "xxxxxxx", "MsgName": "Your message name", "MsgBody": "<html><head><title></title></head><body dir=\"rtl\"><p>this is a test</p></body></html ", "FromName": "SLNG Support", "From ": "test@test.co.il", "ReplyTo ": " test@test.co.il", "MsgBodyType": "1", "LanguageType": "1", "Subject": " subject", " s": [ " ": "test@test.co.il" ] '; // $CR = curl_init(); curl_setopt($cr, CURLOPT_URL, $url); curl_setopt($cr, CURLOPT_POST, 1); curl_setopt($cr, CURLOPT_FAILONERROR, true); curl_setopt($cr, CURLOPT_POSTFIELDS, $json); curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cr, CURLOPT_HTTPHEADER,array("charset=utf-8")); // $result = curl_exec($cr); $error = curl_error ($CR); $response = new SimpleXMLElement($result); TestApiJson();?> HTTP Post C# example Example below use Json.NET library to Serialize and De-serialize JSON objects. Json.NET library can be downloaded from the following link: 10
11 Further instruction about the installation of the package/library in Visual Studio environment can be found here: using Newtonsoft.Json;// Json.NET library public static bool Test ApiJson() string msg = System.Security.SecurityElement.Escape("<html><head><title></title></head><body dir=\"rtl\"><p>this is a test</p></body></html>"); List<string> dest = new List<string>(); dest .add("support@slng.co.il"); dest .add("shlomo@slng.co.il"); Send CmdJson obj = new Send CmdJson(); obj.username = "xxxxxxx; obj.password = "xxxxxxx"; obj.msgname = "Test SLNG API"; obj.msgbody = msg; obj.from = "support@slng.co.il"; obj.fromname = "SLNG Support"; obj.languagetype = "1"; obj.msgbodytype = "1"; obj.replyto = "suppoer@slng.co.il"; obj.subject = "Test "; obj.deliveryackurl = null; obj.highpriority = false; foreach (string in dest ) InfoJson obj1 = new InfoJson(); obj1. = ; obj1.firstname = "Shlomi"; obj1.lastname = "Haddad"; obj. s.add(obj1); string json = JsonConvert.SerializeObject(obj, Formatting.Indented); string json_enc = System.Web.HttpUtility.UrlEncode(json.ToString(), System.Text.Encoding.UTF8); ResponseJson obj2 = new ResponseJson(); obj2 = Post JsonDataToSLNG (" "SlngJson=" + json_enc); if (obj2.status) return true; else return false; 11
12 internal class InfoJson private string _ ; public string get return _ ; set _ = value; private string _AckID; public string AckID get return _AckID; set _AckID = value; value; value; private string _FirstName; public string FirstName get return _FirstName; set _FirstName = private string _LastName; public string LastName get return _LastName; set _LastName = private string _Street; public string Street get return _Street; set _Street = value; private string _City; public string City get return _City; set _City = value; value; private string _Country; public string Country get return _Country; set _Country = value; private string _PostalCode; public string PostalCode get return _PostalCode; set _PostalCode = private string _Fax; public string Fax get return _Fax; set _Fax = value; public InfoJson() this.ackid = null; this._ = null; this.firstname = null; this.lastname = null; this.city = null; this.country = null; this.fax = null; this.postalcode = null; this.street = null; internal class Send CmdJson private string _Username; public string Username get return _Username; set _Username = value; value; private string _Password; public string Password get return _Password; set _Password = private string _MsgName; 12
13 value; value; public string MsgName get return _MsgName; set _MsgName = value; private string _MsgBody; public string MsgBody get return _MsgBody; set _MsgBody = value; private string _FromName; public string FromName get return _FromName; set _FromName = private string _From ; public string From get return _From ; set _From = private string _ReplyTo ; public string ReplyTo get return _ReplyTo ; set _ReplyTo = value; private string _MsgBodyType; public string MsgBodyType get return _MsgBodyType; set _MsgBodyType = value; private string _LanguageType; public string LanguageType get return _LanguageType; set _LanguageType = value; private string _Subject; public string Subject get return _Subject; set _Subject = value; private string _DeliveryAckUrl; public string DeliveryAckUrl get return _DeliveryAckUrl; set _DeliveryAckUrl = value; private bool _HighPriority; public bool HighPriority get return _HighPriority; set _HighPriority = value; private List<string> _GroupGUIDs; public List<string> GroupGUIDs get return _GroupGUIDs; set _GroupGUIDs = value; private List< InfoJson> _ s; public List< InfoJson> s get return _ s; set _ s = value; public Send CmdJson() this.deliveryackurl = null; this.from = null; this.fromname = null; this.languagetype = null; this.msgbodytype = null; this.replyto = null; this._subject = null; this. s = new List< InfoJson>(); this.msgbody = null; 13
14 this.msgname = null; this.password = null; this.username = null; this.highpriority = false; this.groupguids = new List<string>(); public class ResponseJson private bool _Status; public bool Status get return _Status; set _Status = value; private string _Description; public string Description get return _Description; set _Description = value; private string _GeneralGUID; public string GeneralGUID get return _GeneralGUID; set _GeneralGUID = value; public ResponseJson() this.status = false; this.description = null; this.generalguid = null; public static ResponseJson Post JsonDataToSLNG(string url, string json) //Setup the web request string result = string.empty; WebRequest Request = WebRequest.Create(url); Request.Timeout = 30000; Request.Method = "POST"; Request.ContentType = "application/x-www-form-urlencoded"; //Set the POST data in a buffer byte[] xml_encoding; json = json.replace(" ", "+"); //Specify the length of the buffer xml_encoding = Encoding.UTF8.GetBytes(json); Request.ContentLength = xml_encoding.length; //Open up a request stream Stream RequestStream = Request.GetRequestStream(); //Write the POST data RequestStream.Write(xml_encoding, 0, xml_encoding.length); //Close the stream RequestStream.Close(); //Create the Response object WebResponse Response; Response = Request.GetResponse(); //Create the reader for the response StreamReader sr = new StreamReader(Response.GetResponseStream(), Encoding.UTF8); 14
15 //Read the response result = sr.readtoend(); //Close the reader, and response sr.close(); Response.Close(); string json_resp = System.Web.HttpUtility.UrlDecode(result); return JsonConvert.DeserializeObject< ResponseJson>(json_resp); ; 15
16 Get Message statistics using HTTP JSON Post Interface HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) Get message statistics JSON format Below JSON format described the get message statistics command. As mentioned before the following JSON format should be sent in the request body. Note that MsgInfoGUID field return in the response object of sending command. Request JSON: "Username": "xxxxxxxxx", "Password": "xxxxxxxxx", "MsgInfoGUID": "xxxxxxxxx" Response JSON: "Pass": true, "Msg" :"Command completed successfully", "TotalContact":"5", "TotalSent":"5", "TotalOpen":"5", "TotalError":"0", "TotalReturn":"0", "TotalUnsubscribe":"0", "TotalClick":"0", "TotalContactClick":"0" 16
17 Fields Description Request Field Name Description Type Required/Optional Username your API username for SLNG system String Required Password your API password for SLNG system String Required MsgInfoGUID MsgInfoGUID field return from the sending command. String Required Fields Description Response Field Name Description Type Pass Return true or false value indicate the command status Boolean Msg Described the message status String TotalContact TotalSent Total number of contacts that associated with this message Total number of that sent (usually it should be equal to the total number of contacts unless the sending message is still in progress). String String TotalOpen Total contacts that open the message String TotalError Total error s in the list (hard error) String TotalReturn Total that sent but return (soft error) String TotalUnsubscribe Total unsubscribed contacts. String TotalClick Total clicks on the message String TotalContactClick Total contact that click on at list one link in the message String 17
18 Example for getting message statistics using HTTP post HTTP Post PHP example <?php function Send Json () $url = " GetMsgStatistics.ashx"; $json =' "Username": "xxxxxxxxx", "Password": "xxxxxxxxx", "MsgInfoGUID": "xxxxxxxxx" '; // $CR = curl_init(); curl_setopt($cr, CURLOPT_URL, $url); curl_setopt($cr, CURLOPT_POST, 1); curl_setopt($cr, CURLOPT_FAILONERROR, true); curl_setopt($cr, CURLOPT_POSTFIELDS, $json); curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cr, CURLOPT_HTTPHEADER,array("charset=utf-8")); // $result = curl_exec($cr); $error = curl_error ($CR); $response = new SimpleXMLElement($result); TestApiJson();?> HTTP Post C# example Example below use Json.NET library to Serialize and De-serialize JSON objects. Json.NET library can be downloaded from the following link: Further instruction about the installation of the package/library in Visual Studio environment can be found here: using Newtonsoft.Json;// Json.NET library public static bool TestGetMsgStatisticsApiJson() 18
19 MsgStatisticsReqJson obj = new MsgStatisticsReqJson(); MsgStatisticsResponseJson obj1 = new MsgStatisticsResponseJson(); obj.username = "xxxxxxxx"; obj.password = "xxxxxxxx"; obj.msginfoguid = "xxxxxxxxxxxxxxxxxx"; string json = JsonConvert.SerializeObject(obj, Formatting.Indented); string json_enc = System.Web.HttpUtility.UrlEncode(json.ToString(), System.Text.Encoding.UTF8); string json_resp; json_resp = PostJsonBodyDataToSLNG(" json_enc); obj1 = JsonConvert.DeserializeObject<MsgStatisticsResponseJson>(json_resp); if (obj1.pass) return true; else return false; internal class MsgStatisticsReqJson private string _Username; public string Username get return _Username; set _Username = value; value; private string _Password; public string Password get return _Password; set _Password = private string _MsgInfoGUID; public string MsgInfoGUID get return _MsgInfoGUID; set _MsgInfoGUID = value; public MsgStatisticsReqJson() this._username = null; this._password = null; this.msginfoguid = null; internal class MsgStatisticsResponseJson private bool _Pass; public bool Pass get return _Pass; set _Pass = value; private string _Msg; public string Msg get return _Msg; set _Msg = value; private string _TotalContact; public string TotalContact get return _TotalContact; set _TotalContact = value; 19
20 value; value; private string _TotalSent; public string TotalSent get return _TotalSent; set _TotalSent = private string _TotalOpen; public string TotalOpen get return _TotalOpen; set _TotalOpen = value; private string _TotalError; public string TotalError get return _TotalError; set _TotalError = private string _TotalReturn; public string TotalReturn get return _TotalReturn; set _TotalReturn = value; private string _TotalUnsubscribe; public string TotalUnsubscribe get return _TotalUnsubscribe; set _TotalUnsubscribe = value; value; private string _TotalClick; public string TotalClick get return _TotalClick; set _TotalClick = private string _TotalContactClick; public string TotalContactClick get return _TotalContactClick; set _TotalContactClick = value; public MsgStatisticsResponseJson() this._msg = null; this._pass = false; this._totalcontact = null; this.totalclick = null; this._totalcontactclick = null; this.totalerror = null; this.totalopen = null; this.totalreturn = null; this.totalsent = null; this.totalunsubscribe = null; public static string PostJsonBodyDataToSLNG(string url, string json) //Setup the web request string result = string.empty; WebRequest Request = WebRequest.Create(url); Request.Timeout = 30000; Request.Method = "POST"; Request.ContentType = "application/x-www-form-urlencoded"; //Set the POST data in a buffer 20
21 byte[] xml_encoding; json = json.replace(" ", "+"); //Specify the length of the buffer xml_encoding = Encoding.UTF8.GetBytes(json); Request.ContentLength = xml_encoding.length; //Open up a request stream Stream RequestStream = Request.GetRequestStream(); //Write the POST data RequestStream.Write(xml_encoding, 0, xml_encoding.length); //Close the stream RequestStream.Close(); //Create the Response object WebResponse Response; Response = Request.GetResponse(); //Create the reader for the response StreamReader sr = new StreamReader(Response.GetResponseStream(), Encoding.UTF8); //Read the response result = sr.readtoend(); //Close the reader, and response sr.close(); Response.Close(); string json_resp = System.Web.HttpUtility.UrlDecode(result); return json_resp; 21
22 Delete, Add, Unsubscribe or Update contact profile using HTTP JSON Post Interface This section described HTTP post request that use to delete, add, unsubscribe or update contact profile. As you can see in the section below the request command field defined the command that will be executed. HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) General command JSON format Below JSON format described the general API JSON format for request and response call. As mentioned before the following JSON format should be sent in the request body. Note that for each command the table in the field section defined which fields are required. Request JSON: "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", "Cmd": "DeleteContactCmd", "GroupGUIDs": [], "Mobile": "", " ": "FirstName": null, "LastName": null, "Street": null, "City": null, "Country": null, "PostalCode": null, "Fax": null 22
23 Response JSON: "Pass": true or false, "Msg":"Staus description", Fields Description Request Please note that the number next to the field type (e.g: String(200)) defined the maximum string length of this field. Field Name Description Type Username your API username for SLNG system String Password your API password for SLNG system String Cmd GroupGUIDs Mobile Valid command are: (1) DeleteContactCmd (2) UnsubscribeContactCmd (3) AddContactCmd (4) UpdateContactProfileCmd Define the target group for new contact, if not defined new contact will be added to the default group (optional for AddContactCmd and not needed for all other commands) Contact mobile number (optional only if address defined) Contact address (optional only if mobile number defined) String Array of string String String FirstName Contact first name String (200) LastName Contact last name String (200) Street Contact street name String (200) 23
24 City Contact city name String (150) Country Contact country String (150) PostalCode Contact postal code String (20) Fax Contact fax number String (50) Fields Description Response Field Name Description Type Pass Return true or false value indicate the command status Boolean Msg Described the message status String Fields Required/Optional per command Table below described required, optional or not needed for each request command. Field Name DeleteContactCmd UnsubscribeContactCmd AddContactCmd UpdateContactProfileCmd Username required required required required Password required required required required Cmd required required required required GroupGUIDs not needed not needed optional not needed Mobile required ( or mobile required) required ( or mobile required) required ( or mobile required) required ( or mobile required) 24
25 required ( or mobile required) required ( or mobile required) required ( or mobile required) required ( or mobile required) FirstName not needed not needed optional optional LastName not needed not needed optional optional Street not needed not needed optional optional City not needed not needed optional optional Country not needed not needed optional optional PostalCode not needed not needed optional optional Fax not needed not needed optional optional Example for executing special command (delete contact) using HTTP post HTTP Post PHP example <?php function Send Json () $url = " $json =' "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", "Cmd": "DeleteContactCmd", " ": "test_api1234@slng.co.il" '; // $CR = curl_init(); curl_setopt($cr, CURLOPT_URL, $url); curl_setopt($cr, CURLOPT_POST, 1); curl_setopt($cr, CURLOPT_FAILONERROR, true); curl_setopt($cr, CURLOPT_POSTFIELDS, $json); curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cr, CURLOPT_HTTPHEADER,array("charset=utf-8")); // $result = curl_exec($cr); $error = curl_error ($CR); $response = new SimpleXMLElement($result); TestApiJson();?> 25
26 6.6.2 HTTP Post C# example Example below use Json.NET library to Serialize and De-serialize JSON objects. Json.NET library can be downloaded from the following link: Further instruction about the installation of the package/library in Visual Studio environment can be found here: using Newtonsoft.Json;// Json.NET library public static bool TestApiGeneralCmdJson() ApiGeneralCmdReqJSON obj = new ApiGeneralCmdReqJSON(); ApiGeneralCmdResponseJSON obj1 = new ApiGeneralCmdResponseJSON(); obj.username = "xxxxxxx"; obj.password = "xxxxxxxxx"; obj. = "test_api1234@slng.co.il"; obj.mobile = ""; obj.firstname = "API FIRST NAME TEST"; obj.lastname = "API LAST NAME TEST"; obj.cmd = "DeleteContactCmd"; string json = JsonConvert.SerializeObject(obj, Formatting.Indented); string json_enc = System.Web.HttpUtility.UrlEncode(json.ToString(), System.Text.Encoding.UTF8); string json_resp; json_resp = PostJsonBodyDataToSLNG(" json_enc); obj1 = JsonConvert.DeserializeObject<ApiGeneralCmdResponseJSON>(json_resp); if (obj1.pass) return true; else return false; internal class ApiGeneralCmdResponseJSON private bool _Pass; public bool Pass get return _Pass; set _Pass = value; 26
27 private string _Msg; public string Msg get return _Msg; set _Msg = value; public ApiGeneralCmdResponseJSON() this.pass = false; this._msg = null; internal class ApiGeneralCmdReqJSON private string _Username; public string Username get return _Username; set _Username = value; value; private string _Password; public string Password get return _Password; set _Password = private string _Cmd; public string Cmd get return _Cmd; set _Cmd = value; private List<string> _GroupGUIDs; public List<string> GroupGUIDs get return _GroupGUIDs; set _GroupGUIDs = value; private string _Mobile; public string Mobile get return _Mobile; set _Mobile = value; private string _ ; public string get return _ ; set _ = value; value; value; private string _FirstName; public string FirstName get return _FirstName; set _FirstName = private string _LastName; public string LastName get return _LastName; set _LastName = private string _Street; public string Street get return _Street; set _Street = value; private string _City; public string City get return _City; set _City = value; value; private string _Country; public string Country get return _Country; set _Country = value; private string _PostalCode; public string PostalCode get return _PostalCode; set _PostalCode = private string _Fax; public string Fax get return _Fax; set _Fax = value; 27
28 public ApiGeneralCmdReqJSON() this._username = null; this._password = null; this._cmd = null; this. = null; this.mobile = null; this.firstname = null; this.lastname = null; this.city = null; this.country = null; this.fax = null; this.postalcode = null; this.street = null; this.groupguids = new List<string>(); public static string PostJsonBodyDataToSLNG(string url, string json) //Setup the web request string result = string.empty; WebRequest Request = WebRequest.Create(url); Request.Timeout = 30000; Request.Method = "POST"; Request.ContentType = "application/x-www-form-urlencoded"; //Set the POST data in a buffer byte[] xml_encoding; json = json.replace(" ", "+"); //Specify the length of the buffer xml_encoding = Encoding.UTF8.GetBytes(json); Request.ContentLength = xml_encoding.length; //Open up a request stream Stream RequestStream = Request.GetRequestStream(); //Write the POST data RequestStream.Write(xml_encoding, 0, xml_encoding.length); //Close the stream RequestStream.Close(); //Create the Response object WebResponse Response; Response = Request.GetResponse(); //Create the reader for the response StreamReader sr = new StreamReader(Response.GetResponseStream(), Encoding.UTF8); //Read the response result = sr.readtoend(); //Close the reader, and response sr.close(); Response.Close(); string json_resp = System.Web.HttpUtility.UrlDecode(result); return json_resp; 28
29 Add, Deleted or Edit Group using HTTP JSON Post Interface This section described HTTP post request that use to delete, add or edit groups. As you can see in the section below the request command field defined the command that will be executed. HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) General command JSON format Below JSON format described the general API JSON format for request and response call. As mentioned before the following JSON format should be sent in the request body. Note that for each command the table in the field section defined which fields are required. Request JSON: "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", "Cmd": " AddNewGroup", "GroupGUIDs": [], "GroupName": "New group name" Response JSON: "Pass": true or false, "Msg":"Staus description" Fields Description Request Please note that the number next to the field type (e.g: String(200)) defined the maximum string length of this field. 29
30 Field Name Description Type Username your API username for SLNG system String Password your API password for SLNG system String Cmd GroupGUIDs GroupName Valid command are: (1) AddNewGroup (2) DeleteGroup (3) EditGroupName Define the group GUID field for editing or deleting group. (optional for AddNewGroup ). Note that only the first item in the array is valid and there is no option for example to dlete multi groups in one command. Define the group name filed needed for edit group name command and add new group command. String Array of string String (100) Fields Description Response Field Name Description Type Pass Return true or false value indicate the command status Boolean Msg Described the message status String Fields Required/Optional per command Table below described required, optional or not needed for each request command. Field Name AddNewGroup DeleteGroup EditGroupName Username required required required Password required required required Cmd required required required 30
31 GroupGUIDs not needed required required GroupName required Not needed required Example for executing add new group command using HTTP post HTTP Post PHP example <?php function Send Json () $url = " $json =' "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", "Cmd": " AddNewGroup", "GroupName": "NEW GROUP FROM API" '; // $CR = curl_init(); curl_setopt($cr, CURLOPT_URL, $url); curl_setopt($cr, CURLOPT_POST, 1); curl_setopt($cr, CURLOPT_FAILONERROR, true); curl_setopt($cr, CURLOPT_POSTFIELDS, $json); curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cr, CURLOPT_HTTPHEADER,array("charset=utf-8")); // $result = curl_exec($cr); $error = curl_error ($CR); $response = new SimpleXMLElement($result); TestApiJson();?> HTTP Post C# example Example below use Json.NET library to Serialize and De-serialize JSON objects. Json.NET library can be downloaded from the following link: 31
32 Further instruction about the installation of the package/library in Visual Studio environment can be found here: using Newtonsoft.Json;// Json.NET library public static bool TestApiAddGroupGeneralCmdJson() ApiGeneralGroupCmdReqJSON obj = new ApiGeneralGroupCmdReqJSON(); ApiGeneralCmdResponseJSON obj1 = new ApiGeneralCmdResponseJSON(); obj.username = "xxxxxxx"; obj.password = "xxxxxxxxx"; obj.groupname = "NEW GROUP FROM API"; obj.cmd = "AddNewGroup"; string json = JsonConvert.SerializeObject(obj, Formatting.Indented); string json_enc = System.Web.HttpUtility.UrlEncode(json.ToString(), System.Text.Encoding.UTF8); string json_resp; json_resp = PostJsonBodyDataToSLNG(" json_enc); obj1 = JsonConvert.DeserializeObject<ApiGeneralCmdResponseJSON>(json_resp); if (obj1.pass) return true; else return false; internal class ApiGeneralCmdResponseJSON private bool _Pass; public bool Pass get return _Pass; set _Pass = value; private string _Msg; public string Msg get return _Msg; set _Msg = value; public ApiGeneralCmdResponseJSON() this.pass = false; this._msg = null; internal class ApiGeneralGroupCmdReqJSON private string _Username; public string Username get return _Username; set _Username = value; private string _Password; 32
33 value; public string Password get return _Password; set _Password = private string _Cmd; public string Cmd get return _Cmd; set _Cmd = value; private List<string> _GroupGUIDs; public List<string> GroupGUIDs get return _GroupGUIDs; set _GroupGUIDs = value; private string _GroupName; public string GroupName get return _GroupName; set _GroupName = value; public ApiGeneralGroupCmdReqJSON() this._username = null; this._password = null; this._cmd = null; this.groupguids = new List<string>(); this.groupname = null; public static string PostJsonBodyDataToSLNG(string url, string json) //Setup the web request string result = string.empty; WebRequest Request = WebRequest.Create(url); Request.Timeout = 30000; Request.Method = "POST"; Request.ContentType = "application/x-www-form-urlencoded"; //Set the POST data in a buffer byte[] xml_encoding; json = json.replace(" ", "+"); //Specify the length of the buffer xml_encoding = Encoding.UTF8.GetBytes(json); Request.ContentLength = xml_encoding.length; //Open up a request stream Stream RequestStream = Request.GetRequestStream(); //Write the POST data RequestStream.Write(xml_encoding, 0, xml_encoding.length); //Close the stream RequestStream.Close(); //Create the Response object WebResponse Response; Response = Request.GetResponse(); //Create the reader for the response StreamReader sr = new StreamReader(Response.GetResponseStream(), Encoding.UTF8); //Read the response result = sr.readtoend(); //Close the reader, and response sr.close(); Response.Close(); string json_resp = System.Web.HttpUtility.UrlDecode(result); return json_resp; 33
34 Cancel /Sms Sending command using HTTP JSON Post Interface This section described HTTP post request that allow to cancel sending command that already sent and schedule for future time. HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) General command JSON format Below JSON format described the general API JSON format for request and response call. As mentioned before the following JSON format should be sent in the request body. Note that for each command the table in the field section defined which fields are required. Request JSON: "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", "Cmd": "CancelSendingCommand", "MsgInfoGUID": "(received from the sending command)" Response JSON: "Pass": true or false, "Msg":"Staus description" Fields Description Request Field Name Description Type Username your API username for SLNG system String 34
35 Password your API password for SLNG system String Cmd MsgInfoGUID Valid command are: (1) CancelSendingCommand Define the MsgInfoGUID field that rerun from the sending command. String String Fields Description Response Field Name Description Type Pass Return true or false value indicate the command status Boolean Msg Described the message status String Fields Required/Optional per command Table below described required, optional or not needed for each request command. Field Name Username Password Cmd MsgInfoGUID CancelSendingCommand required required required required 35
36 36
37 Get user account balance using HTTP JSON Post Interface This section described the HTTP post request for getting the user account balance. HTTP post request should be sent to the following URL with UTF-8 encoding in the HTTP post request body. Or (if SSL is needed) Get user balance command JSON format Below JSON format described the general API JSON format for get user balance command. As mentioned before the following JSON format should be sent in the request body. Request JSON: "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", Response JSON:. "Pass": true or false, "Msg":"Staus description", "QtySms": "100", "Qty ":"100"", Fields Description Request Field Name Description Type Username your API username for SLNG system String Password your API password for SLNG system String 37
38 Fields Description Response Field Name Description Type Pass Return true or false value indicate the command status Boolean Msg Described the message status String QtySms Total number of available SMS in the account String Qty Total number of available in the account String Example for executing special command (delete contact) using HTTP post HTTP Post PHP example <?php function Send Json () $url = " GetUserBalanceJson.ashx"; $json =' "Username": "xxxxxxxx", "Password": "xxxxxxxxxxxx", '; // $CR = curl_init(); curl_setopt($cr, CURLOPT_URL, $url); curl_setopt($cr, CURLOPT_POST, 1); curl_setopt($cr, CURLOPT_FAILONERROR, true); curl_setopt($cr, CURLOPT_POSTFIELDS, $json); curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cr, CURLOPT_HTTPHEADER,array("charset=utf-8")); // $result = curl_exec($cr); $error = curl_error ($CR); $response = new SimpleXMLElement($result); TestApiJson();?> 38
39 HTTP Post C# example Example below use Json.NET library to Serialize and De-serialize JSON objects. Json.NET library can be downloaded from the following link: Further instruction about the installation of the package/library in Visual Studio environment can be found here: using Newtonsoft.Json;// Json.NET library public static bool TestGetUserBalanceApiJson() UserBalanceCmdJson obj = new UserBalanceCmdJson(); UserBalanceResponseJson obj1 = new UserBalanceResponseJson(); obj.username = "xxxxx"; obj.password = "xxxxxxx"; string json = JsonConvert.SerializeObject(obj, Formatting.Indented); string json_enc = System.Web.HttpUtility.UrlEncode(json.ToString(), System.Text.Encoding.UTF8); string json_resp; json_resp = PostJsonBodyDataToSLNG(" json_enc); obj1 = JsonConvert.DeserializeObject<UserBalanceResponseJson>(json_resp); if (obj1.pass) return true; else return false; internal class UserBalanceCmdJson private string _Username; public string Username get return _Username; set _Username = value; value; private string _Password; public string Password get return _Password; set _Password = public UserBalanceCmdJson() 39
40 this.password = null; this.username = null; internal class UserBalanceResponseJson private bool _Pass; public bool Pass get return _Pass; set _Pass = value; private string _Msg; public string Msg get return _Msg; set _Msg = value; value; private string _Qty ; public string Qty get return _Qty ; set _Qty = private string _QtySms; public string QtySms get return _QtySms; set _QtySms = value; public UserBalanceResponseJson() this._msg = null; this._pass = false; this.qty = null; this.qtysms = null; public static string PostJsonBodyDataToSLNG(string url, string json) //Setup the web request string result = string.empty; WebRequest Request = WebRequest.Create(url); Request.Timeout = 30000; Request.Method = "POST"; Request.ContentType = "application/x-www-form-urlencoded"; //Set the POST data in a buffer byte[] xml_encoding; json = json.replace(" ", "+"); //Specify the length of the buffer xml_encoding = Encoding.UTF8.GetBytes(json); Request.ContentLength = xml_encoding.length; //Open up a request stream Stream RequestStream = Request.GetRequestStream(); //Write the POST data RequestStream.Write(xml_encoding, 0, xml_encoding.length); 40
41 //Close the stream RequestStream.Close(); //Create the Response object WebResponse Response; Response = Request.GetResponse(); //Create the reader for the response StreamReader sr = new StreamReader(Response.GetResponseStream(), Encoding.UTF8); //Read the response result = sr.readtoend(); //Close the reader, and response sr.close(); Response.Close(); string json_resp = System.Web.HttpUtility.UrlDecode(result); return json_resp; 41
SMS Gatewa y Interface
SMS Gateway Interface Format... 3 Simple Xml example... 3 Advance Xml example... 4 Response XML... 5 Delivery Notification... 6 Delivery Notification Example... 6 Message character length... 6 C# example...
More informationמ ע " ב םילעפמו תוכרעמ רימש
SMS Gateway Interface Format... 3 Simple Xml example... 3 Advance Xml example... 4 Response XML... 5 Delivery Notification... 6 Message character length... 7 C# example... 8 PHP example... 10 VB example...
More informationHTTPS API Specifications
HTTPS API Specifications June 17, 2016 P a g e 1 - HTTPS API Specifications Contents HTTPS API Overview... 3 Terminology... 3 Process Overview... 3 Parameters... 4 Responses... 5 Examples... 6 PERL on
More informationAPI USER GUIDE MARKETING MESSAGES & BROADCASTS
API USER GUIDE MARKETING MESSAGES & BROADCASTS General Overview So, what do you want to do? 3 3 Marketing Messages with replies 4 First, let s send the messages Advanced API developers note Next, let s
More informationConnect Media Bulk SMS API Documentation
Connect Media Bulk SMS API Documentation All requests are submitted through the POST Method Base URL: http://www.connectmedia.co.ke/user-board/?api Information About Parameters: PARAMETERS username Your
More informationAPI LEADFOX TECHNOLOGY INC. By Sébastien Lamanna. Created on January 6, 2016
API By Sébastien Lamanna LEADFOX TECHNOLOGY INC. Created on January 6, 2016 Latest update February 9, 2016 Revisions History Version By Date 1.0 1.1 Initial version Sébastien Lamanna Jan. 6, 2016 Add Contact/GetHistory
More informationstring signature = CreateSignature(secretKey, messagerepresentation); // hwce6v2ka0kkb0gbbik0gsw5qacs3+vj+m+wn/8k9ee=
Code Examples See also this tutorial for more information about using the ASP.NET web API client libraries. Making a GET request Let's read orders created after a particular date. For security reasons,
More informationversion 2.0 HTTPS SMSAPI Specification Version 1.0 It also contains Sample Codes for -.Net - PHP - Java
HTTPS SMS API SPEC version 2.0 HTTPS SMSAPI Specification This document contains HTTPS API information about - Pushing SMS, - Pushing Unicode SMS, - Scheduling SMS - Checking SMS credits, Version 1.0 -
More informationIntegration REST Text2Speech Version 1.1
1 Integration REST Text2Speech Version 1.1 2 Table of Contents Introduction P. 3 Technical Platform Request for shipments voicemails P. 4 JSON request P. 4 Example request CURL P. 5 Sample PHP request
More informationBULK HTTP API DOCUMENTATION
BULK HTTP API DOCUMENTATION Version 1.4 Sending Message Via HTTP API INTRODUCTION This HTTP API document will help you use the push platform to send SMS messages through Query String over HTTP/HTTPS. The
More informationAPI Spec Sheet For Version 2.5
INTRODUCTION The Wholesale SMS API is ideally suited for sending individual sms messages and/or automated responses through our premium routes. To send bulk messages through the API you can set your server
More informationOXYGEN GROUP. mycrm Technology. Interfacing with the mycrm API. engage
mycrm Technology Interfacing with the engage Introduction The mycrm in Engage is used to store mobile numbers and related customer data. By using the mycrm database, a client can load a wealth of information
More informationLIPNET OUTBOUND API FORMS DOCUMENTATION
LIPNET OUTBOUND API FORMS DOCUMENTATION LEGAL INAKE PROFESSIONALS 2018-03-0926 Contents Description... 2 Requirements:... 2 General Information:... 2 Request/Response Information:... 2 Service Endpoints...
More informationSending Application Data to Tenstreet API Guide
Sending Application Data to Tenstreet API Guide Contents Introduction... 1 Agreements and Acknowledgements... 2 Understanding the API... 2 Debugging... 2 Logging... 2 Data Accuracy... 2 Support Requests...
More informationKWizCom Corporation. imush. Information Management Utilities for SharePoint. Printing Feature. Application Programming Interface (API)
KWizCom Corporation imush Information Management Utilities for SharePoint Printing Feature Application Programming Interface (API) Copyright 2005-2014 KWizCom Corporation. All rights reserved. Company
More informationAppendix A Programkod
Appendix A Programkod ProgramForm.cs using System; using System.Text; using System.Windows.Forms; using System.Net; using System.IO; using System.Text.RegularExpressions; using System.Collections.Generic;
More informationARTIO SMS Services HTTP API Documentation
ARTIO SMS Services HTTP API Documentation David Jozefov Michal Unzeitig Copyright 2013 - ARTIO International Co. ARTIO SMS Services HTTP API Documentation ARTIO Publication date: 4.9.2013 Version: 1.0.1
More informationARELLO.COM Licensee Verification Web Service v2.0 (LVWS v2) Documentation. Revision: 8/22/2018
ARELLO.COM Licensee Verification Web Service v2.0 (LVWS v2) Documentation Revision: 8/22/2018 Table of Contents Revision: 8/22/2018... 1 Introduction... 3 Subscription... 3 Interface... 3 Formatting the
More informationSmartFocus Cloud Service APIs
SmartFocus Cloud Service APIs Document name SmartFocus User Guide Service Campaign management for managing email campaigns Protocol SOAP & REST over HTTP Version 11.8 Last updated on June 22, 2015 Table
More informationSending Documents to Tenstreet API Guide (rev 06/2017)
Sending Documents to Tenstreet API Guide (rev 06/2017) Contents Introduction... 1 Agreements and Acknowledgements... 2 Understanding the API... 2 Debugging... 2 Logging... 2 Data Accuracy... 2 Support
More informationSMS Gateway. API & Application Technical Documentation. Revision 1. Current as at 10 th August Document ID: DOC-SMS-API-R1
SMS Gateway API & Application Technical Documentation Revision 1 Current as at 10 th August 2010 Document ID: DOC-SMS-API-R1 Information in this document is subject to change without notice. This document
More informationAPI HTTP / HTTPS INTEGRATE THE SMS IN YOUR APPLICATIONS, YOUR WEBSITE AUTOMATE YOUR TEXT OF SHIPMENTS SETTING SINGLE PLACE WITHOUT ADDITIONAL COST
------ ------ ------ ------ - INTEGRATE THE SMS IN YOUR APPLICATIONS, YOUR WEBSITE AUTOMATE YOUR TET OF SHIPMENTS SETTING SINGLE PLACE WITHOUT ADDITIONAL COST API HTTP / HTTPS Integration Manual VERSION
More informationWired 2 Wireless Technology Solutions API Help Document Copyright Introduction. 2. Parameter list
1. Introduction Wired 2 Wireless Technology Solutions offers an easy way to send and receive messages via its built-in webserver using HTTP. In this document you will learn how to send SMS, check delivery
More informationSending Job Requsition Data to Tenstreet API Guide (rev 09/2018)
Sending Job Requsition Data to Tenstreet API Guide (rev 09/2018) Contents Introduction... 1 Agreements and Acknowledgements... 2 Understanding the API... 2 Debugging... 2 Logging... 2 Data Accuracy...
More informationQuriiri HTTP MT API. Quriiri HTTP MT API v , doc version This document describes the Quriiri HTTP MT API version 1 (v1).
Quriiri HTTP MT API This document describes the Quriiri HTTP MT API version 1 (v1). Sending messages Request types Security Request parameters Request examples JSON POST GET Response JSON response example
More information2. On completing your registration you will get a confirmation . Click on the link or paste the link into your browser to validate the account.
Bongo Live SMS API v1.4 Revision History: v 1.1 - Initial Release. v1.2 19/6/2013 - Added Balance check and Sender Name Check v1.3 15/10/2013 Added incoming sms specifications v1.4 13/05/2014 Added API
More informationHTTP API-HELP DOCUMENT
PARAMETER DEFINITION S.NO PARAMETER PARAMETER VALUE PARAMETER NAME DESCRIPTION 1 User Test User User name of the 2 Passwd Test Password Password of the account 3 Sid DEMO Sender id Destination Mobile 4
More informationEXTERNAL SERVICES DOCUMENTATION
EXTERNAL SERVICES DOCUMENTATION Last updated: 03/15/16 The purpose of this document is to provide HawleyLambert clients documentation on how to access available RESTful External Services. A developer should
More informationAPI Spec Sheet For HLR v1.4
API Spec Sheet For HLR v1.4 INTRODUCTION The Wholesale SMS HLR API provides an easy to use method of accessing the HLR (Home Location Register) for all networks worldwide that support HLR. For large batch
More informationAll requests must be authenticated using the login and password you use to access your account.
The REST API expects all text to be encoded as UTF-8, it is best to test by sending a message with a pound sign ( ) to confirm it is working as expected. If you are having issues sending as plain text,
More informationPrintShop Mail Web. Web Integration Guide
PrintShop Mail Web Web Integration Guide Copyright Information Copyright 1994-2010 Objectif Lune Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted, transcribed, stored
More informationEBULKSMS
EBULKSMS www.ebulksms.com (Customized Text Messaging System) API Specification Doc Version Date Author Description 1.0 01-August-2013 Dr Fox Initial draft 1.1 14-July-2017 Dr Fox Get API Key Index SEND
More informationElevate Web Builder Modules Manual
Table of Contents Elevate Web Builder Modules Manual Table Of Contents Chapter 1 - Getting Started 1 1.1 Creating a Module 1 1.2 Handling Requests 3 1.3 Custom DataSet Modules 8 Chapter 2 - Component Reference
More informationSending Data Updates to Tenstreet API Guide (rev 10/2017)
Sending Data Updates to Tenstreet API Guide (rev 10/2017) Contents Introduction... 1 Agreements and Acknowledgements... 2 Understanding the API... 2 Debugging... 2 Logging... 2 Data Accuracy... 2 Support
More informationXML JavaScript Object Notation JSON Cookies Miscellaneous What Javascript can t do. OOP Concepts of JS
LECTURE-4 XML JavaScript Object Notation JSON Cookies Miscellaneous What Javascript can t do. OOP Concepts of JS 1 XML EXTENDED MARKUP LANGUAGE XML is a markup language, like HTML Designed to carry data
More informationIUID Registry Application Programming Interface (API) Version 5.6. Software User s Manual (SUM)
IUID Registry Application Programming Interface (API) Version 5.6 Software User s Manual (SUM) Document Version 1.0 May 28, 2014 Prepared by: CACI 50 N Laura Street Jacksonville FL 32202 Prepared for:
More informationTechnosoft HR Recruitment Workflow Developers Manual
Technosoft HR Recruitment Workflow Developers Manual Abstract This document outlines the technical aspects, deployment and customization of Technosoft HR BPM application. Technosoft Technical Team Table
More informationWAVV 2005 Colorado Springs, CO. VSE.NET Programming. Handouts. Agenda. Page 1. .NET Programming Example with VSE
.NET Programming Example with VSE Chuck Arney illustro Systems International LLC carney@illustro.com Handouts Download a copy of this presentation www.illustro.com/conferences WAVV2005-2 Agenda Introduction
More informationWebADM and OpenOTP are trademarks of RCDevs. All further trademarks are the property of their respective owners.
API The specifications and information in this document are subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. This document may
More informationSMS GATEWAY API INTEGRATION GUIDE
SMS GATEWAY API INTEGRATION GUIDE For PHP Developers Are you a developer or bulk SMS reseller? You can interface your application, website or system with our 247 reliable messaging gateway by using our
More informationHappyFox API Technical Reference
HappyFox API Technical Reference API Version 1.0 Document Version 0.1 2011, Tenmiles Corporation Copyright Information Under the copyright laws, this manual may not be copied, in whole or in part. Your
More informationInstaMember USER S GUIDE
InstaMember USER S GUIDE InstaMember Licensing API Guide 1 InstaMember Licensing API Guide The InstaMember licensing feature is designed to integrate seamlessly with your web applications or scripts. It
More informationAJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes
AJAX Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11 Sérgio Nunes Server calls from web pages using JavaScript call HTTP data Motivation The traditional request-response cycle in web applications
More informationProduced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology
Web Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie Sessions Web Development
More informationBackup Gateway Documentation
Backup Gateway Documentation Written by Jateen Mistry Revised: 18 th May 2004, Revised: 29 th May 2004 [Adam Beaumont] SUPPORT: For support related issues please logon to the support forum at http://aqcorporate.com/support.php
More informationewallet API integration guide version 5.1 8/31/2015
ewallet API integration guide version 5.1 8/31/2015 International Payout Systems, Inc. (IPS) ewallet API Integration Guide contains information proprietary to IPS, and is intended only to be used in conjunction
More informationJSON is a light-weight alternative to XML for data-interchange JSON = JavaScript Object Notation
JSON The Fat-Free Alternative to XML { Lecture : 27, Course : CSC375, Days : TTh", Instructor : Haidar Harmanani } Why JSON? JSON is a light-weight alternative to XML for data-interchange JSON = JavaScript
More informationEPHONE protocol Version 3.5.1
EPHONE protocol Version 3.5.1 Version History Version V 3.5.0 V 3.5.1 Date 01-04-2010 01-04-2010 Description Issue Control Approved by Nissim Trujman Title Description 1 Table of Contents 1. Xml Http Protocol...3
More informationSortMyBooks API (Application programming
SortMyBooks API (Application programming interface) Welcome to Sort My Books. This documentation will help you to get started with SortMyBooks API. General Considerations SortMyBooks works with objects
More informationConsuming SAIT API via ITS ESB from web / desktop application
Consuming SAIT API via ITS ESB from web / desktop application 1. Configuration Requirements: To be able to test / consume API via ITS ESB the following steps must be addressed: a. The certificate should
More informationComposer Help. Web Request Common Block
Composer Help Web Request Common Block 7/4/2018 Web Request Common Block Contents 1 Web Request Common Block 1.1 Name Property 1.2 Block Notes Property 1.3 Exceptions Property 1.4 Request Method Property
More informationSFMTA Commuter Shuttle APIs
SFMTA Commuter Shuttle APIs The following document outlines the APIs to be used by Commuter Shuttle Provider permitees to receive stop locations, and send stop and telemetry data to the SFMTA as required
More informationAPI Technical Reference
API Technical Reference Copyright 1996/2015, Quality System Solutions Limited Unit 8 Lansdowne Court Bumpers Way, Chippenham, Wiltshire, SN13 0RP United Kingdom Tel: +44 (0)1249 566010 E-mail: support@callprocrm.com
More informationdonation-service-test
Java Rest Client donation-service-test Donation Models Java versions of Mongoose models public class User public String _id; public String firstname; public String lastname; public String email; public
More informationStarting with FRITZ!OS 5.50 a session ID is also required in all three cases.
Login to the FRITZ!Box Web Interface Login Procedure and Session IDs in the FRITZ!Box Web Interface Login to a FRITZ!Box can take place in three basic ways: With user name and password With just a passport
More informationQueens Library API Requirements Document For e-content Partners
Queens Library API Requirements Document For e-content Partners Version Date Author Description 1 08/03/2015 Surinder Pal Singh Draft 1.1 08/07/2015 Surinder Pal Singh Revised by Team 1.2 08/19//2015 Surinder
More informationSMS Aggregation - API Documentation
SMS Aggregation - API Documentation Wireless Logic Version - 2.0 Issue Date - 20th February 2014 Wireless Logic Ltd Grosvenor House Horseshoe Crescent Beaconsfield, Buckinghamshire HP9 1LJ Tel: +44 (0)1494
More informationSMS Mobile Termination (MT) API Guide for HTTPS
SMS Mobile Termination (MT) API Guide for HTTPS The content of this document are copyright and remain the property of National Informatics Centre. This document is not to be reproduced in any form whether
More informationRiverbed Cascade Profiler Common REST API v1.0
Riverbed Cascade Profiler Common REST API v1.0 Copyright Riverbed Technology Inc. 2017 Created Oct 26, 2017 at 04:10 PM Contents Contents Overview Overview SSL Ciphers Certificate Examples Known Issues
More informationBrain Corporate Bulk SMS
Brain Corporate Bulk SMS W e S i m p l y D e l i v e r! API Documentation V.2.0 F e b r u a r y 2 0 1 9 2 Table of Contents Sending a Quick Message... 3 API Description... 3 Request Parameter... 4 API
More informationMay 13, 2015 [MSDP SERVICES INTEGRATION DOCUMENT VER 1.4] Page 1 of 23
Page 1 of 23 Table of Contents 1. Push SMS Integration... 3 1.1 Overview... 3 1.2 Terms and Definitions... 3 1.3 Using the HTTP URL for sending messages... 3 1.4 PUSH Account Creation... 3 1.5 PUSH Parameter
More informationLogin to the FRITZ!Box Web Interface
Login to the FRITZ!Box Web Interface Login Procedure and Session IDs in the FRITZ!Box Web Interface Login to a FRITZ!Box can take place in three basic ways: With user name and password With just a passport
More informationTrigger SMS API. API Documentation SPLIO - SPRING Contact and Campaign Trigger SMS API - EN v4.0.docx
API Documentation 2017-09-08 Summary Introduction... 3 Access... 3 Base URL... 3 Europe hosting... 3 Asia hosting... 3 Authentication... 3 Request format... 4 Response format... 4 Error Codes & Responses...
More informationAlliedWallet QuickPay API
AlliedWallet QuickPay API The AlliedWallet QuickPay API can process your online purchases with a minimal amount of programming. Both shopping cart and subscription transactions can be submitted. The QuickPay
More informationBiomids Persistent Proctor API
Biomids Persistent Proctor API Institution Name : string Street : string City : string State : string PostalCode : string EmailDomain : string (ex: Biomids.com) Logo : string (name of logo file) // All
More informationLINK Mobility SMS REST API MO messages Version 1.1; Last updated June 07, 2017
LINK Mobility SMS REST API MO messages Version 1.1; Last updated June 07, 2017 For help, contact support@linkmobility.com The most up-to-date version of this document is available at http://www.linkmobility.com/developers/
More informationThe system has several front-end content discovery options. Here are examples of their interfaces (see more on our site at
November, 2014 1 TrenDemon is a content marketing platform which helps boost conversions from your existing traffic and content using personalized recommendations and call to actions. The system has several
More informationFaxCore API Reference A web based API for sending, receiving and managing faxes through the FaxCore network.
FaxCore API Reference A web based API for sending, receiving and managing faxes through the FaxCore network. P a g e 2 Contents API Overview... 3 Authentication... 3 SendFax... 4 FaxStatus... 5 GetFaxList...
More informationAPI/balanceinfo.php?username=test&password= xxxxx
HTTP API codes Single Number: https://smschilly.in/sms_api/sendsms.php?username=test&password=xxx xx&mobile=9xxxxxxxxx&sendername=testee&message=test msg&routetype=0 Note:RouteTypemeans 0-promotional;1-Transactional;2-Promo
More informationTable of Contents Web Service Specification (version 1.5)
Table of Contents Web Service Specification (version 1.5) Introduction... 3 Add TPS Screening to your Website or Application... 3 Getting Started... 3 What you can do with our API... 3 Be careful......
More informationReport API v1.0 Splio Customer Platform
Report API v1.0 Splio Customer Platform 2018-06-25 SPLIO Customer Platform - REPORT API 1.0 - EN - 2018-06-25 - v1.docx Table of Contents Introduction... 3 Access... 3 Base URL... 3 Europe hosting... 3
More informationJSON as an XML Alternative. JSON is a light-weight alternative to XML for datainterchange
JSON The Fat-Free Alternative to XML { Lecture : 27, Course : CSC375, Days : TTh", Instructor : Haidar Harmanani } JSON as an XML Alternative JSON is a light-weight alternative to XML for datainterchange
More informationApplied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB)
Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB) In this exercise, we will create a simple Android application that uses IBM Bluemix Cloudant NoSQL DB. The application
More informationArcGIS Pro SDK for.net Customize Pro to Streamline Workflows. Wolfgang Kaiser
ArcGIS Pro SDK for.net Customize Pro to Streamline Workflows Wolfgang Kaiser Managed Configuration or Configurations Customize Pro to Streamline Workflows has been implemented with the Managed Configuration
More informationtext2reach2 SMS API Sep 5, 2013 v1.1 This document describes application interface (API) between SMS service provider (SP) and SMS gateway (SMSGW).
text2reach2 SMS API Sep 5, 2013 v1.1 This document describes application interface (API) between SMS service provider (SP) and SMS gateway (SMSGW). Table of Contents API Interface Types...3 Bulk SMS interface...3
More informationAME User Guide. Online XML Soap Connection VERSION 1.0 OCTOBER AME Support Number: AME Support
AME User Guide Online XML Soap Connection VERSION 1.0 OCTOBER 2015 Contents About AME 3 Countries and Languages 3 The XML SOAP Interface (API) 4 How easy is it to connect to AME SOAP? 4 What version of
More informationAME Online Matching XML SOAP Connection Guide
AME Online Matching XML SOAP Connection Guide About AME Version 8.0 D&B s Asia Match Environment ( AME ) allows a customer s own systems to integrate with D&B s best-in-class AME Entity Matching environment.
More informationAPI. If you already done integration with Btc-e.com previously, it will be very easy task to use our API.
API Documentation Link : https://vip.bitcoin.co.id/trade api Our API is very similar with BTC-e s API. If you already done integration with Btc-e.com previously, it will be very easy task to use our API.
More informationSELLER ADMINISTRATION PANEL API
Dotpay Technical Support Wielicka Str. 72, 30-552 Cracow, Poland phone. +48 12 688 26 00 fax +48 12 688 26 49 e-mail: tech@dotpay.pl SELLER ADMINISTRATION PANEL API Version 1.35.4.2 TABLE OF CONTENT Page
More informationVISA QIWI WALLET PULL PAYMENTS API ver. 2.1
VISA QIWI WALLET PULL PAYMENTS API ver. 2.1 USER GUIDE ver. 2.0 MOSCOW 8-495-783-5959 RUSSIA 8-800-200-0059 FAX 8-495-926-4619 WEB WWW.QIWI.COM 1 CONTENT 1. INTRODUCTION... 3 1.1. PURPOSE OF THE API...
More informationYour leads. Your way. Lead delivery options for BuyerZone clients and partners.
Your leads. Your way. Lead delivery options for BuyerZone clients and partners. Lead delivery from BuyerZone We know how important quality and timely leads are for your business. That s why we offer a
More informationPayment Center API WEBFORM/GATEWAY MODE v2.6.2
Payment Center API WEBFORM/GATEWAY MODE v2.6.2 Content Introduction 3 WebPay (webform) 4 WebBlock (webform) 6 Pay (gateway) 4 Block (gateway) 6 Token (gateway) 6 Charge (webform/gateway) 7 Cancel (webform/gateway)
More informationDistributed Programming and Remote Procedure Calls (RPC): Apache Thrift. George Porter CSE 124 February 19, 2015
Distributed Programming and Remote Procedure Calls (RPC): Apache Thrift George Porter CSE 124 February 19, 2015 End-to-end RPC protocol RPC Components Defines messages, message exchange behavior, Programming
More informationDiscussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type
Discussion #4 CSS VS XSLT Difference 1 CSS Multiple stylesheet types with cascading priorities XSLT One stylesheet type Difference 2 Used for HTML Used for structured document Difference 3 Only client
More informationType: Web Service API Doc. Name.: XTEST Review: Date: 19 giugno, 2015
Type: Web Service API Doc. Name.: XTEST Review: 4.9.1 Date: 19 giugno, 2015 All information, data, ideas, layouts, drawings, schemes and all their combinations thereof are proprietary information of THRON
More informationStandard HTTP format (application/x-www-form-urlencoded)
API REST Basic concepts Requests Responses https://www.waboxapp.com/api GET / Standard HTTP format (application/x-www-form-urlencoded) JSON format HTTP 200 code and success field when action is successfully
More informationemkt Browserless Coding For C#.Net and Excel
emkt Browserless Coding For C#.Net and Excel Browserless Basic Instructions and Sample Code 7/23/2013 Table of Contents Using Excel... 3 Configuring Excel for sending XML to emkt... 3 Sandbox instructions
More informationMarketo Data Shield Setup Guide
Marketo Data Shield Setup Guide Marketo Data Shield Setup Guide Page 1 of 20 Marketo Integration Diagram 1 2 3 Webhooks Company Names Data Shield Admin Panel New Record 4 Case? Periods? Convert to proper
More informationWhatsATool API - REST-Like Interface to WhatsATool Services
Disclaimer This service and also mtms Solutions GmbH is not associated in any case with WhatsApp. WhatsApp is a registered Trademark owned by WhatsApp Inc. mtms is not related in any way with WhatsApp
More informationArcGIS for Server Administration API for C# Developers. Philip
ArcGIS for Server Administration API for C# Developers Philip Heede @pheede Content What is the REST admin API all about? Why script it- and why script it using C#? How to do it! What is the ArcGIS for
More informationWeb services CSCI 470: Web Science Keith Vertanen Copyright 2014
Web services CSCI 470: Web Science Keith Vertanen Copyright 2014 Web services Overview What does that mean? Why are they useful? Examples! Major interaction types REST SOAP 2 3 W3C says 1.4 What is a Web
More informationHTTP API. https://www.smsn.gr. Table of Contents
HTTP API https://www.smsn.gr Table of Contents Send SMS...2 Query SMS...3 Multiple Query SMS...4 Credits...5 Save Contact...5 Delete Contact...7 Delete Message...8 Email: sales@smsn.gr, Τηλ: 211 800 4200,
More informationDell One Identity Quick Connect for Cloud Services 3.6. Administrator Guide
Dell One Identity Quick Connect for Cloud Services 3.6 2014 Dell Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished
More informationLead Delivery Options. Your leads sent your way. Lead delivery options for clients and partners.
Lead Delivery Options Your leads sent your way. Lead delivery options for clients and partners. Introduction We know how important quality and timely leads are for your business. That s why we offer a
More informationTrusted Source SSO. Document version 2.3 Last updated: 30/10/2017.
Trusted Source SSO Document version 2.3 Last updated: 30/10/2017 www.iamcloud.com TABLE OF CONTENTS 1 INTRODUCTION... 1 2 PREREQUISITES... 2 2.1 Agent... 2 2.2 SPS Client... Error! Bookmark not defined.
More informationRESTful API SecurAccess RESTful API Guide
RESTful API SecurAccess SecurAccess RESTful API Guide Contents 1.1 SOLUTION SUMMARY... 3 1.2 GUIDE USAGE... 3 1.3 PREREQUISITES... 3 1.4 SETUP... 4 1.5 AVAILABLE RESOURCES... 4 1.41 GET USERS... 5 1.42
More informationAPI DOCUMENTATION INDODAX.COM
API DOCUMENTATION INDODAX.COM v1.8 Last updated: 9 April 2018 Table of Contents Public API 3 Private API 3 Authentication 4 Responses 4 API Methods 5 getinfo 5 transhistory 6 trade 7 tradehistory 8 openorders
More informationJSON POST WITH PHP IN ANGULARJS
JSON POST WITH PHP IN ANGULARJS The POST method is used to insert the data. In AngularJS, we should post the form data in JSON format to insert into the PHP file. The PHP server side code used to get the
More informationStandard HTTP format (application/x-www-form-urlencoded)
API REST Basic concepts Requests Responses https://www.waboxapp.com/api Standard HTTP format (application/x-www-form-urlencoded) JSON format HTTP 200 code and success field when action is successfully
More informationRegion wise sales reporting collation
Region wise sales reporting collation Objective: Implementation: Prerequisite for using APIs: 1. 2. 3. Sign In at gupshup.io to get an API Key. Teamchat account. Register Bot with your Teamchat App using
More information